using System.Text;
using System;
using System.Collections.Generic;
using AmazeUI;
using AmazeUI.Imodel;
namespace AmazeUI.db
{
    public partial class XtError
    {
        public XtError() { }
        public XtError(IXtError model)
            : this()
        {
            SetModel(model);
            this.AddTime = DateTime.Now;
        }
        public void SetModel(IXtError model)
        {
            this.Name = model.Name;
            this.Content = model.Content;
            this.Url = model.Url;
            this.Controllers = model.Controllers;
            this.Action = model.Action;
            this.Userid = model.Userid;
            this.ExTypeId = model.ExTypeId;

        }

    }
}
